package com.kqkj.dyrule.engine.beans;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 规则条件封装对象，封装一个规则中所有判断条件
 */
@Data
public class RuleConditions {
    //规则ID
    private String ruleId;

    //触发事件
    private EventParam triggerEvent;

    //画像属性条件
    private Map<String,String> userProfileConditions;

    //行为次数条件
    private List<EventParam> actionCountConditions;

    //行为序列条件
    private List<EventSequenceParam> actionSequenceCondition;
}
